<{php}>
    $post = $query->getPost($id);

    $title = $post->title;
    $keywords = $post->seo_keywords;
    $description = $post->desc;
    if($post->seo_title) $title = $post->seo_title;
    if($post->seo_description) $description = $post->seo_description;
<{/php}>
<{include file="../template/public/head.html"}>
<!-- header-->
<!-- bra_top -->
<{include file="../template/public/union_nav.html"}>
<link rel="stylesheet" type="text/css" href="/static/css/css.css?v=2" />

<!--面包屑导航-->
<div class="container-fluid">
    <div class="row bread-nav">
        <div class="container">
            <div class="row">
                <div class="col-md-12">
                    <ol class="breadcrumb pull-left">
                        <li>
                            <a href="/"><{:lang('home')}></a>
                        </li>
                        <li>
                            <a href="<{php}> echo $query->U('index/post/index/id/4',true);<{/php}>"><{:lang('news')}></a>
                        </li>
                        <li class="active"><{$post.title}></li>
                    </ol>
                </div>

            </div>
        </div>
    </div>
</div>

<style type="text/css">
	.news_banner{
				background:url(<{if condition="isset($config.product_post_banner.cvalue)"}><{$config.product_post_banner.cvalue}><{/if}>);
				background-size:100% 100%;
		}
    @media (max-width: 1200px) {
        .news_banner{
            background: url(<{if condition="isset($config.product_post_banner.cvalue)"}><{$config.product_post_banner.cvalue}><{/if}>) no-repeat center center !important;
        }
    }
    @media (max-width:700px) {
        .news_banner{
            display:none;
        }
    }
    .news_text img{
        max-width:100%;height:auto !important;
    }
</style>

<div class="news_banner banner banner_brands">
    <div class="container">
        <div class="col-sm-7">
            <div class="text">
                <h1><strong><{if condition="isset($config.product_post_title.cvalue)"}><{$config.product_post_title.cvalue}><{/if}></strong></h1>
                <p><{if condition="isset($config.product_post_desc.cvalue)"}><{$config.product_post_desc.cvalue}><{/if}></p>
            </div>
        </div>
    </div>
</div>
<div id="content" class="mb80">
    <div class="container mt65">
        <div class="col-xs-12  text-center">
            <h1><{$post.title}></h1>
            <span><{$post.create_time}></span>
        </div>
    </div>
    <hr>
    <div class="container mt65 news_text">
        <div class="container-fluid">
            <div class="row">
                <div class="col-xs-12">
                    <p class="border-bottom pb15"><strong><{:lang('news_summary')}>：</strong> <{$post.desc}></p>
                    <{$post.postData.content}>

                </div>
            </div>
        </div>
    </div>
    <!--<hr>-->

    <{php}>$neighbour = $query->getNeighbour($id);<{/php}>
    <!--<div class="container">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-6">
                    <{if condition="($neighbour.front)"}>
                    <a class="prev" href="<{php}> echo $query->U('index/post/detail/id/'.$neighbour['front']['id'],true);<{/php}>">Previous：<{$neighbour.front.title}></a>
                    <{else /}>
                    <a class="prev" href="javascript:;">Previous：nothing</a>
                    <{/if}>
                </div>
                <div class="col-sm-6 text-right">
                    <{if condition="($neighbour.next)"}>
                    <a class="prev" href="<{php}> echo $query->U('index/post/detail/id/'.$neighbour['next']['id'],true);<{/php}>">Next：<{$neighbour.next.title}></a>
                    <{else /}>
                    <a class="prev" href="javascript:;">Next：nothing</a>
                    <{/if}>
                </div>
            </div>
        </div>
    </div>-->
    <!--<hr>
    <div class="container">
        <div class="container-fluid">
            <div class="row">
                <div class="col-sm-12">
                    <a href="<{php}> echo $query->U('index/post/index',true);<{/php}>">&lt; back</a>
                </div>
            </div>
        </div>
    </div>-->
</div>
<{include file="../template/public/sidebar.html"}>
<{include file="../template/public/foot.html"}>